package com.aigou.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.aigou.dao.UserDemoDao;
import com.aigou.pojo.UserDemo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

@Service
public class UserDemoServiceImpl
extends ServiceImpl<BaseMapper<UserDemo>, UserDemo> implements IUserDemoService {
	
	@Autowired
	GoodsService goosService;
	@Autowired
	UserDemoDao userDemoDao;

	@Override
	public void zhuangzhang() {
		goosService.findOne(1);
		
		baseMapper.update(null, null);
		userDemoDao.update(null, null);
	}

}
